package edu.umss.arqui10.modelo;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Column;
import javax.persistence.Table;

/**
 *
 * @author IdeaSoft
 */
@Entity
@Table(name = "Responsible")
public class Responsible implements Serializable {

    @Column(name = "name")
    private String name;
    @Column(name = "ci")
    private String ci;
    @Column(name = "address")
    private String address;
    @Column(name = "phone")
    private String phone;
    @Column(name = "responsibility")
    private String responsibility;
    @Column(name = "active")
    private boolean active;
    @Id
    private Long id;

    public Responsible() {
    }

    public Responsible(String name, String ci, String responsibility) {
        this.name = name;
        this.ci = ci;
        this.responsibility = responsibility;
    }

    public String getCi() {
        return ci;
    }

    public String getName() {
        return name;
    }

    public boolean isActive() {
        return active;
    }

    public void setActive(boolean active) {
        this.active = active;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getResponsibility() {
        return responsibility;
    }

    public void setResponsibility(String responsibility) {
        this.responsibility = responsibility;
    }

    public Long getId() {
        return id;
    }
}
